home *** CD-ROM | disk | FTP | other *** search
- Path: newsbf02.news.aol.com!not-for-mail
- From: lightir@aol.com (Lightir)
- Newsgroups: comp.lang.c++
- Subject: help!
- Date: 6 Mar 1996 23:19:23 -0500
- Organization: America Online, Inc. (1-800-827-6364)
- Sender: root@newsbf02.news.aol.com
- Message-ID: <4hlo4b$r9v@newsbf02.news.aol.com>
- Reply-To: lightir@aol.com (Lightir)
- NNTP-Posting-Host: newsbf02.mail.aol.com
-
- Im new to C++. How would I write this use only the standard libraries (if
- possible), and what headers do I need:
-
- Make New Window;
- paste picture in window;
- enum boolean(FALSE, TRUE);
- boolean next_click;
-
- main()
- label b;
- if mouse click {
- get mouse coordinates;
- paste icon at mouse coordinates;
- next_click = TRUE;
- }
-
- if next_click = TRUE {
- move icon from old coordinates to new coordinates;
- }
- else {
- goto b;
- }
- }
-